package com.letoo.sso.dataaccess.dao.cahce;

public interface CaptchaCacheDAO extends BaseCacheDAO {

    String getRegisterCaptcha(String mobile);

    boolean setRegisterCaptcha(String mobile, String captcha);

    String getPasswordCaptcha(String mobile);

    boolean setPasswordCaptcha(String mobile, String captcha);

    boolean deletePasswordCaptcha(String mobile);
    
    Long getRegisterCaptchaTTL(String mobile);
    
    Long getPasswordCaptchaTTL(String mobile);

}
